package com.webank.wedatasphere.qualitis.response;

import java.io.Serializable;

public class SelectRuleResponse implements Serializable {

    private Long id;
    private String createTime;

    private String ruleTemplateName;
    private String cnName;
    private String datasourceName;
    private String dbName;
    private String tableName;
    private String tableFields;
    private String sqlWhere;

    @Override
    public String toString() {
        return "SelectRuleResponse{" +
                "id=" + id +
                ", createTime='" + createTime + '\'' +
                ", ruleTemplateName='" + ruleTemplateName + '\'' +
                ", cnName='" + cnName + '\'' +
                ", datasourceName='" + datasourceName + '\'' +
                ", dbName='" + dbName + '\'' +
                ", tableName='" + tableName + '\'' +
                ", tableFields='" + tableFields + '\'' +
                ", sqlWhere='" + sqlWhere + '\'' +
                '}';
    }

    public SelectRuleResponse() {
    }

    public SelectRuleResponse(Long id, String createTime, String ruleTemplateName, String cnName, String datasourceName, String dbName, String tableName, String tableFields, String sqlWhere) {
        this.id = id;
        this.createTime = createTime;
        this.ruleTemplateName = ruleTemplateName;
        this.cnName = cnName;
        this.datasourceName = datasourceName;
        this.dbName = dbName;
        this.tableName = tableName;
        this.tableFields = tableFields;
        this.sqlWhere = sqlWhere;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getRuleTemplateName() {
        return ruleTemplateName;
    }

    public void setRuleTemplateName(String ruleTemplateName) {
        this.ruleTemplateName = ruleTemplateName;
    }

    public String getCnName() {
        return cnName;
    }

    public void setCnName(String cnName) {
        this.cnName = cnName;
    }

    public String getDatasourceName() {
        return datasourceName;
    }

    public void setDatasourceName(String datasourceName) {
        this.datasourceName = datasourceName;
    }

    public String getDbName() {
        return dbName;
    }

    public void setDbName(String dbName) {
        this.dbName = dbName;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getTableFields() {
        return tableFields;
    }

    public void setTableFields(String tableFields) {
        this.tableFields = tableFields;
    }

    public String getSqlWhere() {
        return sqlWhere;
    }

    public void setSqlWhere(String sqlWhere) {
        this.sqlWhere = sqlWhere;
    }
}
